package com.xiaozhu.pojo.DTO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 朱慧军
 * @version 1.0
 *
 * 接收前端传递来的数据
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private String username;
    private String password;
    private String role = "user";


}
